package com.cqz.mapper;

import com.cqz.dao.BookTag;

import java.util.List;

public interface BookTagMapper {
    int deleteByPrimaryKey(Integer btid);

    int insert(BookTag record);

    int insertSelective(BookTag record);

    List<String> selectAllTags();
    List<String> selectAllTagsByBid(Integer bid);

    List<Integer> selectAllBidByTags(List<String> tags);
    List<Integer> selectAllIds(BookTag record);

    BookTag selectByPrimaryKey(Integer btid);

    int updateByPrimaryKeySelective(BookTag record);

    int updateByPrimaryKey(BookTag record);
}